<table class="table table-responsive" id="payRecords-table">
    <thead>
        <th>Amount</th>
        <th>Channel</th>
        <th>Out Trade No</th>
        <th>Extra Param</th>
        <th>Trade State</th>
        <th>Transaction Id</th>
        <th>Payer Openid</th>
        <th>Payer Id</th>
        <th>Notify Data</th>
        <th>Notify At</th>
        <th colspan="3">Action</th>
    </thead>
    <tbody>
    @foreach($payRecords as $payRecord)
        <tr>
            <td>{!! $payRecord->amount !!}</td>
            <td>{!! $payRecord->channel !!}</td>
            <td>{!! $payRecord->out_trade_no !!}</td>
            <td>{!! $payRecord->extra_param !!}</td>
            <td>{!! $payRecord->trade_state !!}</td>
            <td>{!! $payRecord->transaction_id !!}</td>
            <td>{!! $payRecord->payer_openid !!}</td>
            <td>{!! $payRecord->payer_id !!}</td>
            <td>{!! $payRecord->notify_data !!}</td>
            <td>{!! $payRecord->notify_at !!}</td>
            <td>
                {!! Form::open(['route' => ['payRecords.destroy', $payRecord->id], 'method' => 'delete']) !!}
                <div class='btn-group'>
                    <a href="{!! route('payRecords.show', [$payRecord->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>
                    <a href="{!! route('payRecords.edit', [$payRecord->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>
                    {!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}
                </div>
                {!! Form::close() !!}
            </td>
        </tr>
    @endforeach
    </tbody>
</table>